package io.renren.common.utils;

import java.math.BigDecimal;

/**
 * @program: stf
 * @description: 常量工具类
 * @author: Custom
 * @create: 2018-11-06 12:29
 **/

public class ConstantUtils {
//项目
    //待审核
    public static final int AUDIT = 0;
    //审核成功
    public static final int AUDITED = 1;
    //审核失败
    public static final int AUDITFAILURE = 2;
    //项目进度
    public static final int PROGRESSING = 0;
    //项目完成
    public static final int PROGRESSED = 1;
    //未软删除
    public static final int DEL = 0;
    //已经软删除
    public static final int DELED = 1;
    //工程类型
    public static final int PROJECTTYPE = 0;
    //车队类型
    public static final int MOTORCADE = 1;


//反馈
    //系统反馈
    public static final Integer SYSTEMFEEDBACK = 0;

    //具体反馈类型名称（系统反馈）
    public static final Integer PROJECTFEEDBACK = 1;

    //反馈内容未读
    public static final Integer READ = 0;

    //反馈内容已读
    public static final Integer READED = 1;


    public static final String USER_KEY = "userinfoid";

//注册
    /**
     * ISLOCKEDOUT：锁定默认值
     */
    public static final int ISLOCKEDOUT = 0;

//验证码
    //登录验证码key
    public static final String LOGIN_KAPTCHA_SESSION_KEY = "API_LOGIN_KAPTCHA_SESSION_KEY";

    //注册验证码key
    public static final String REGISTER_KAPTCHA_SESSION_KEY = "API_LOGIN_KAPTCHA_SESSION_KEY";

//上传
    //请求url路径
    public static String imageUrlPath = "/api/image/";



//会员/用户
    //会员标识
    public static final Integer VIP = 1;
    //非会员标识
    public static final Integer COMMON = 0;

    /**
     *
     *已锁定
     */
    public static final int LOCKEDOUT = 1;
    /**
     *
     *未锁定
     */
    public static final int NOTLOCKEDOUT = 0;

    //男
    public static final int MAN = 0;
    //女
    public static final int WOMAN = 1;

    public static final Integer READONLY = 1;

    public static final BigDecimal MININTEGRALNUMBER = new BigDecimal("0");
}
